package com.namecard.namecardapi.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.namecard.namecardapi.entity.TImg;
import com.namecard.namecardapi.entity.vo.TImgQueryVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xb
 * @since 2024-04-21
 */
public interface TImgService extends IService<TImg> {

    //文件上传
    String uploadDoc(MultipartFile file, String path) throws IOException;

    //文件分页查询
    IPage<TImg> selectPage(Page<TImg> pageParam, TImgQueryVo tImgQueryVo);

}
